package com.blqy.fr.model.account;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.blqy.fr.model.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 支付方式实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "PaymentType")
@TableName("payment_type")
public class PaymentType extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "支付编码，如：wechat, alipay")
    @TableField("code")
    private String code;

    @Schema(description = "支付名称，如：微信支付")
    @TableField("name")
    private String name;

    @Schema(description = "状态：0=禁用，1=启用")
    @TableField("status")
    private Integer status;
}